<%= render 'merchants/common/pagenav' %>
<div id="pageWrapper" class="merchant homepage">
    <div id="pageBody">
        
		<% if get_current_merchant().merchant_info.nil? %>
		<div class="infoMessage fnt14 yellow">
            <h4>Welcome to the Merchant Center</h4>
            <p>
                This is the place where you can create and publish value cards. 
                But before that please complete <a href="/merchants/info_create">your profile</a> while we authorize your account. 
            </p>
        </div>
        <% end %>
		
		<div class="overflow">
            <div class="promoWidget col1">
                <i class="icon-gift fntOrange"></i>
                <div class="content">
                    <h4 class="fntBlue">Create value cards</h4>
                    <p>
                        Grow your business by giving your customers the ability to purchase and share value cards. 
                        Its a simple 3 step process. To start creating value cards please <a href="/merchants/info_create">complete your profile</a> while we authorize your account.
                    </p>
                    <div class="buttonBar">
                    	<% if get_current_merchant().merchant_info.nil? %>
							<a href="#" class="btn disabled">Create Value Card</a>
                        	<% else %>
							<a href="/products/create_giftcard" class="btn">Create Value Card</a>
						<% end %>
					</div>
                </div>
            </div>
            <div class="promoWidget">
                <i class="icon-flag fntRedish"></i>
                <div class="content">
                    <h4 class="fntBlue">Create your brand</h4>
                    <p>
                        Keep your customers up-to-date with all the info. 
                        Add/Edit new locations, contact info or any other details about your business.
                    </p>
                    <div class="buttonBar">
                        <a href="#" class="btn">Account Settings</a>
                    </div>
                </div>
            </div>
            <div class="promoWidget col1">
                <i class="icon-copy fntGrey"></i>
                <div class="content">
                    <h4 class="fntBlue">Manage purchased vouchers</h4>
                    <p>
                        Mark the vouchers redeemed as they get used up.
                    </p>
                    <div class="buttonBar">
                        <a href="#" class="btn">Account Settings</a>
                    </div>
                </div>
            </div>
            <div class="promoWidget">
                <i class="icon-bullhorn fntGrey"></i>
                <div class="content">
                    <h4 class="fntBlue">Exciting stuff</h4>
                    <p>
                        We at stuffc are working on some exciting stuff, read all about it here.
                    </p>
                    <div class="buttonBar">
                        <a href="#" class="btn">Read on...</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
